package routers

import (
	"gitee.com/hailaz/wakeonlan/controllers"

	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/ws", &controllers.WebsocketController{}, "get:Websocket")
	beego.Router("/", &controllers.WebsocketController{}, "get:Wol")
	beego.Router("/ud", &controllers.WebsocketController{}, "get:Ud")
	beego.Router("/wols", &controllers.WebsocketController{}, "get:Wols")
}
